public class SilverMembership implements Membership {
    @Override
    public double getDiscount(double price) {
        return price * 0.9;  // 9 折
    }
}
